Skip to content

[bot] Document userPromptSubmitted LLM bypass and multi-skill invocation (v1.0.44)#1656

Merged
aaronpowell merged 1 commit intostagedfrom
update/hooks-skills-v1.0.44-aa325e37c1bdbd85
May 11, 2026
Merged

[bot] Document userPromptSubmitted LLM bypass and multi-skill invocation (v1.0.44)#1656
aaronpowell merged 1 commit intostagedfrom
update/hooks-skills-v1.0.44-aa325e37c1bdbd85

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 8, 2026

What's new in v1.0.44

The v1.0.44 release (2026-05-08) shipped two notable user-facing features that weren't yet documented in the Learning Hub:

1. userPromptSubmitted hooks can bypass the LLM

Hooks on the userPromptSubmitted event can now handle a request directly by writing {"response": "..."} to stdout. The CLI delivers that text to the user and skips the model call entirely. Previously the event was documented only as useful for auditing/logging.

Use cases: inline FAQ bots, policy enforcement with clear rejection messages, prompt redirect patterns.

2. Multiple skills per message & mid-input slash commands

Slash commands no longer have to appear at the start of a message — they can appear mid-input. Users can also invoke multiple skills in a single message (e.g., /generate-tests and then /conventional-commit).


What was updated

website/src/content/docs/learning-hub/automating-with-hooks.md

  • Updated userPromptSubmitted event table row to mention the new LLM-bypass capability
  • Added new "Handling Requests Directly with userPromptSubmitted (v1.0.44+)" example section with working script and explanation of the {"response": "..."} pattern
  • Updated the FAQ answer ("Can hooks access the user's prompt text?") to describe the bypass capability
  • Bumped lastUpdated to 2026-05-08

website/src/content/docs/learning-hub/creating-effective-skills.md

  • Expanded the "How do I invoke a skill?" Q&A to document mid-input slash commands and multiple skills per message
  • Replaced "Can agents chain multiple skills?" with "Can I invoke multiple skills in one message?" — covering both user-facing multi-skill invocation and agent discovery chaining
  • Bumped lastUpdated to 2026-05-08

Source announcements

Generated by Learning Hub Updater · ● 2.6M ·

…-skill invocation (v1.0.44)

- automating-with-hooks.md: update userPromptSubmitted event table entry to
  mention new ability to handle requests directly (v1.0.44+); add 'Handling
  Requests Directly with userPromptSubmitted' example section showing the
  {"response":"..."} JSON pattern; update FAQ answer to describe the bypass
  capability
- creating-effective-skills.md: update skill invocation Q&A to document
  mid-input slash commands and multiple skills in a single message (v1.0.44+);
  update 'Can agents chain multiple skills?' FAQ with user-facing details

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell marked this pull request as ready for review May 11, 2026 01:07
Copilot AI review requested due to automatic review settings May 11, 2026 01:07
@aaronpowell aaronpowell merged commit cf6bbba into staged May 11, 2026
2 checks passed
@aaronpowell aaronpowell deleted the update/hooks-skills-v1.0.44-aa325e37c1bdbd85 branch May 11, 2026 01:07
@github-actions github-actions Bot added the website-update PR touches website content or code label May 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

🟡 Contributor Reputation Check: MEDIUM risk

Check Risk
Profile MEDIUM
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk label May 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Learning Hub documentation to reflect GitHub Copilot CLI v1.0.44 behavior changes around (1) userPromptSubmitted hooks being able to return direct responses (skipping the LLM) and (2) mid-input slash commands + multi-skill invocation.

Changes:

  • Documented userPromptSubmitted “LLM bypass” behavior and added a new example section showing the {"response":"..."} pattern.
  • Expanded skill invocation guidance to cover mid-input slash commands and invoking multiple skills in one message.
  • Bumped lastUpdated metadata on both pages to 2026-05-08.
Show a summary per file
File Description
website/src/content/docs/learning-hub/creating-effective-skills.md Updates the Q&A to describe mid-input slash commands and multiple skill invocations per message (v1.0.44).
website/src/content/docs/learning-hub/automating-with-hooks.md Documents userPromptSubmitted direct-response capability (LLM bypass) and adds an example configuration + script.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

INPUT=$(cat)
PROMPT=$(echo "$INPUT" | jq -r '.prompt // empty' | tr '[:upper:]' '[:lower:]')

if echo "$PROMPT" | grep -q "^/help\b"; then
"userPromptSubmitted": [
{
"type": "command",
"bash": "./scripts/prompt-router.sh",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-update copilot-updates needs-review:MEDIUM Contributor reputation check flagged MEDIUM risk website-update PR touches website content or code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants